package com.vasthu.api.dao;

import com.vasthu.api.domain.Category;
import java.util.*;
import java.sql.*;

public interface CategoryDAO {

    public boolean insertCategory(Category cat);

    public Category getCategoryById(long catId);

    public Category getCategoryByName(String catName);

    public boolean deleteCategoryById(long catId);

    public List<Category> getAllCategorys();
}